php app/console cache:clear
php app/console doctrine:database:create
php app/console doctrine:generate:entities Osp/UserBundle
php app/console doctrine:generate:entities Osp/CategoryBundle
php app/console doctrine:generate:entities Osp/ProductBundle
php app/console doctrine:generate:entities Osp/OrderBundle
php app/console doctrine:schema:update --force